import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import dayjs from 'dayjs'
import { getRequest , postRequest} from './api/requestWay'
Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$get = getRequest
Vue.prototype.$post = postRequest

import { 
  Card,
  Form,
  Button,
  FormModel, 
  Input,
  Radio,
  InputNumber,
  Select,
  Checkbox,
  message,
  Layout,
  Menu,
  Carousel,
  Table,
  Icon,
} from 'ant-design-vue'
Vue.prototype.$message = message
Vue.prototype.dayjs = dayjs
Vue.use(Card)
Vue.use(Form)
Vue.use(Button)
Vue.use(FormModel)
Vue.use(Input)
Vue.use(Radio)
Vue.use(InputNumber)
Vue.use(Select)
Vue.use(Checkbox)
Vue.use(Layout)
Vue.use( Menu)
Vue.use(Carousel)
Vue.use(Table)
Vue.use(Icon)
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
